<div class="col-sm-12 mt20" ng-keyup="myKeyup($event)">
    <div class="panel panel-default">
      <div class="panel-body">
        <div class="col-sm-12">
          <div class="row ">
              <div class="col-sm-2">
                  <input type="text" class="form-control"  ng-model="searchform.directory_name" placeholder="指南名称"> 
              </div>
            <div class="col-sm-2  pull-right">
                <button class="btn btn-block btn-info" ng-click="getlist()">搜索</button> 
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="panel panel-default">
      <div class="panel-body">
        <table class="table table-condensed table-hover table-bordered">
            <thead>
                <tr>
                    <th class="col-md-2 text-center">年份</th>
                    <th class="col-md-6 text-center">指南名称</th>
                    <th class="col-md-2 text-center">发布时间</th>
                    <th class="col-md-2 text-center">操作</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="info in objs">  
                    <td class="text-center">{{info.year}}</td>                          
                    <td class="text-center">
                        <div class="ellipsis" style="max-width:100%;display:block;overflow: hidden;white-space: nowrap;-o-text-overflow: ellipsis;text-overflow: ellipsis;" title="{{info.directory_name}}">{{info.directory_name}}</div>
                    </td>                          
                    <td class="text-center">{{info.otime}}</td>    
                    <td class="text-center">
                        <a type="button" class="btn btn-primary btn-xs" ng-click="toinfo($index)">查看</a>
                    </td>
                </tr>             
            </tbody>
        </table>
        <div class="text-right">
             <pagination 
                total-items="bigTotalItems" 
                ng-model="bigCurrentPage" 
                ng-change="getlist()"
                previous-text="上一页"
                next-text="下一页"
                first-text="首页"
                last-text="尾页"
                max-size="5"
                boundary-links="true"
                rotate="false"
                items-per-page="itemsPerPage"
                class="m-t-none m-b">
            </pagination>
        </div>
      </div>
    </div>
</div>